package com.whd.DIP.achieve;

import com.whd.DIP.Animal;

/**
 * @author whd
 * @date 2024/07/19 14:58:01
 */
public class Cat extends Animal {
    public Cat(String name){
        super.setName(name);
    }
    @Override
    public void fie() {
        System.out.println(super.getName()+"不会飞");
    }
}
